<div class="ui-tab">
    <ul>
        <li class="tab-item <{if $action eq timingOnline}>selected<{/if}>"><a href="<{u(timingOnline)}>" onclick="LayerShow();">已上线活动</a></li>
        <li class="tab-item <{if $action eq timingPrepare}>selected<{/if}>"><a href="<{u(timingPrepare)}>" onclick="LayerShow();">待上线活动</a></li>
        <li class="tab-item <{if $action eq timingFinish}>selected<{/if}>"><a href="<{u(timingFinish)}>" onclick="LayerShow();">已结束列表</a></li>
        <li class="tab-item last-item <{if $action eq timingMember}>selected<{/if}>"><a href="<{u(timingMember)}>" onclick="LayerShow();">参与记录</a></li>
        <li class="tab-item <{if $action eq timingNew}>selected<{/if}>"><a href="<{u(timingNew)}>" onclick="LayerShow();">新增活动</a></li>
        <li class="tab-item <{if $action eq periodEdit}>selected<{/if}>"><a href="<{u(periodEdit)}>&type=1" onclick="LayerShow();">期数编辑</a></li>
        <{if $action eq timingEdit}>
            <li class="tab-item selected"><a href="javascript:void(0);">修改活动</a></li>
        <{/if}>
    </ul>
</div>